<script>
APP = {
	base: '<?php echo site_url(array('graph',$usrAlias,'totalPointDepartemen'))?>',
	utils: '<?php echo site_url(array('utils')) ?>',
	periode1: null,
	periode2: null
}
</script>
<h2 style="border-bottom: 1px solid #ccc;">Laporan Grafik :: Total Point Departemen</h2>
<form name="search">
<table width="100%" border="0" cellpadding="5">
<tr>
	<td width="100px">Departemen : </td>
	<td>
		<select name="dep_id" onchange="load_graph()">
		<?php foreach ($depData->result_array() as $row):?>
		<option value="<?php echo $row['dep_id']?>"><?php echo $row['dep_nama']?></option>
		<?php endforeach?>
		</select>
	</td>
</tr>
<tr>
    <td>Periode : </td>
    <td><input type="text" id="periode1" name="periode1" value="<?php echo date("Y-m-d",time())?>" /> - 
    	<input id="periode2" name="periode2" type="text" value="<?php echo date("Y-m-d",time())?>" /></td>
</tr>
</table>
</form>
<div align="center" id="graphContainer" style="margin-top:10px">
<img id="graph" src="" />
</div>
